package table

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Name            string `json:"name,omitempty" gorm:"column:name"`
	Password        string `json:"password" gorm:"column:password"`
	FollowCount     int64  `json:"follow_count,omitempty" gorm:"column:follow_count"`
	FollowerCount   int64  `json:"follower_count,omitempty" gorm:"column:follower_count"`
	IsFollow        bool   `json:"is_follow,omitempty" gorm:"column:is_follow"`
	Avatar          string `json:"avatar,omitempty" gorm:"column:avatar"`
	BackgroundImage string `json:"background_image,omitempty" gorm:"column:background_image"`
	signature       string `json:"signature,omitempty" gorm:"column:signature"`
	TotalFavorited  string `json:"total_favorited,omitempty" gorm:"column:total_favorited"`
	WorkCount       int64  `json:"work_count,omitempty" gorm:"column:work_count"`
	FavoriteCount   int64  `json:"favorite_count,omitempty" gorm:"column:favorite_count"`
	Token           string `json:"token" gorm:"column:token"`
}
